|
|
|
|
|
|
|
|
|
|
|
|
|
|
PC Week Database
Benchmark Query Analysis (specific to May 1999 test dataset) |
|
|
|
|
|
|
|
|
|
|
|
|
Query Name |
Size of Return Set (rows) |
Input Type |
Access Pattern |
Sequential or Random I/O?
(i.e.Are index and/or data pages contiguous or separate?) |
Number of Indicies Accessed |
All Indicies Used are Clustered
Indicies |
Number of Tables Accessed |
Size of Tables (rows) |
|
|
|
|
oltp_read_select_01 |
1 |
random |
1 index lookup |
sequential I/O |
1 |
yes |
1 |
20,000,000 |
|
|
oltp_read_select_02 |
201 |
random |
small index scan |
sequential I/O |
2 |
yes |
1 |
5,000,000 |
|
|
oltp_read_select_03 |
1 |
static |
1 index lookup |
sequential I/O |
1 |
yes |
1 |
5,000,000 |
|
|
oltp_read_select_04 |
1 |
static |
1 index lookup |
sequential I/O |
1 |
no |
1 |
5,000,000 |
|
|
oltp_read_select_05 |
100 |
static |
small index scan |
sequential I/O |
1 |
yes |
1 |
5,000,000 |
|
|
oltp_read_select_06 |
1 |
random |
1 index lookup |
sequential I/O |
1 |
no |
1 |
5,000,000 |
|
|
oltp_read_select_07 |
1 |
static |
small index scan |
sequential I/O |
1 |
yes |
1 |
5,000,000 |
|
|
oltp_read_select_08 |
0-1 |
random |
1 index lookup, 1 small index scan |
random I/O |
2 |
no |
1 |
5,000,000 |
|
|
oltp_read_select_09 |
1 |
static |
1 index lookup |
sequential I/O |
1 |
no |
1 |
5,000,000 |
|
|
oltp_read_select_10 |
2.5% of rows (250 rows) |
static |
small index scan |
random I/O |
1 |
no |
1 |
10,000 |
|
|
oltp_read_select_11 |
0 |
static |
full index scan |
sequential I/O |
1 |
yes |
1 |
2,000,000 |
|
|
oltp_read_select_12 |
0.01% of rows (108 rows) |
static |
1 large index scan, 1 small index scan |
random I/O |
2 |
no |
1 |
5,000,000 |
|
|
oltp_read_select_13 |
~0.05% of rows (~500 rows, or
actually 439 rows) |
static |
small index scan |
random I/O |
1 |
no |
1 |
5,000,000 |
|
|
oltp_read_select_14 |
328 |
static |
small index scan |
random I/O |
1 |
no |
1 |
5,000,000 |
|
|
oltp_read_select_15 |
0 |
static |
full index scan |
sequential I/O |
1 |
no |
1 |
5,000,000 |
|
|
oltp_read_select_16 |
100 |
static |
small index scan |
random I/O |
2 |
no |
1 |
100,000 |
|
|
oltp_read_select_17 |
10% of rows (1000 rows) |
static |
full index scan |
random I/O |
1 |
no |
1 |
10,000 |
|
|
oltp_read_select_18 |
1% of rows (100 rows) |
static |
small index scan |
random I/O |
2 |
no |
1 |
10,000 |
|
|
oltp_read_join_01 |
1 |
random |
2 index lookups |
random I/O |
2 |
yes |
2 |
5,000,000 |
5,000,000 |
|
|
oltp_read_join_02 |
~0 |
random |
2 index lookups |
random I/O |
3 |
no |
2 |
2,000,000 |
5,000,000 |
|
|
oltp_read_join_03 |
0-5 |
random |
10 index lookups |
random I/O |
3 |
no |
2 |
5,000,000 |
5,000,000 |
|
|
oltp_read_join_04 |
21 |
random |
2 index lookups |
random I/O |
4 |
no |
2 |
5,000,000 |
5,000,000 |
|
|
oltp_read_join_05 |
11 |
static |
2 small index scans |
random I/O |
2 |
yes |
2 |
5,000,000 |
5,000,000 |
|
|
oltp_read_join_06 |
2 |
static |
2 small index scans |
random I/O |
3 |
no |
2 |
5,000,000 |
7,000,000 |
|
|
oltp_read_join_07 |
1 |
static |
2 index lookups |
random I/O |
2 |
yes |
2 |
5,000,000 |
5,000,000 |
|
|
oltp_read_join_08 |
1 |
static |
2 index lookups |
random I/O |
2 |
no |
2 |
5,000,000 |
5,000,000 |
|
|
oltp_read_join_09 |
1 |
static |
3 index lookups |
random I/O |
3 |
yes |
3 |
5,000,000 |
5,000,000 |
5,000,000 |
|
|
oltp_read_join_10 |
1 |
static |
3 index lookups |
random I/O |
3 |
no |
3 |
5,000,000 |
5,000,000 |
5,000,000 |
|
|
oltp_read_join_11 |
1 |
static |
4 index lookups |
random I/O |
4 |
yes |
4 |
5,000,000 |
5,000,000 |
5,000,000 |
5,000,000 |
|
oltp_read_join_12 |
1 |
static |
4 index lookups |
random I/O |
4 |
no |
4 |
5,000,000 |
5,000,000 |
5,000,000 |
5,000,000 |
|
oltp_read_join_13 |
1027 |
static |
1 index scan, many index lookups |
random I/O |
3 |
no |
2 |
5,000,000 |
5,000,000 |
|
|
oltp_read_join_14 |
10 |
static |
1 index scan, many index lookups |
random I/O |
3 |
no |
2 |
10,000 |
5,000,000 |
|
|
oltp_write_01 |
0 |
random |
|
|
|
|
oltp_write_02 |
0 |
random |
|
|
|
|
oltp_write_03 |
0 |
random |
|
|
|
|
oltp_write_04 |
0 |
random |
|
|
|
|
oltp_write_05 |
0 |
random |
|
|
|
|
|
|
|
|
|
|
dss_select_01 |
1 (answer is "999999") |
static |
1 index scan |
sequential I/O |
1 |
yes |
1 |
5,000,000 |
|
|
dss_select_02 |
1 (answer is "0") |
static |
1 index lookup |
sequential I/O |
1 |
yes |
1 |
5,000,000 |
|
|
dss_select_03 |
100 |
static |
2 index scans |
sequential I/O |
2 |
no |
1 |
5,000,000 |
|
|
dss_select_04 |
1 (answer is "0") |
static |
1 index lookup, 5 index scans |
sequential I/O |
6 |
no |
1 |
5,000,000 |
|
|
dss_select_05 |
1 (answer is "995000995.0") |
static |
1 big index scan, many small index scans |
some of both |
3 |
no |
2 |
5,000,000 |
5,000,000 |
|
|
dss_select_06 |
10000 |
static |
3 index scans, computation |
sequential I/O |
3 |
no |
2 |
5,000,000 |
5,000,000 |
|
|
dss_select_06_noview |
10000 |
static |
3 index scans, computation |
sequential I/O |
3 |
no |
2 |
5,000,000 |
5,000,000 |
|
|
dss_select_07 |
1 |
static |
3 index scans, computation |
sequential I/O |
3 |
no |
2 |
5,000,000 |
5,000,000 |
|
|
dss_select_07_noview |
1 |
static |
3 index scans, computation |
sequential I/O |
3 |
no |
2 |
5,000,000 |
5,000,000 |
|
|
dss_select_08 |
100 |
static |
1 index scan |
sequential I/O |
1 |
no |
1 |
5,000,000 |
|
|
dss_select_09 |
100 |
static |
1 index scan |
sequential I/O |
1 |
no |
1 |
5,000,000 |
|
|
dss_select_10 |
1 (answer is "50000") |
static |
1 tablescan, computation |
sequential I/O |
1 |
no |
1 |
100,000 |
|
|
dss_select_11 |
1 (answer is "750000") |
static |
1 partial index scan |
sequential I/O |
1 |
no |
1 |
3,000,000 |
|
|
|
|
|
|
|
50
transactions in total |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|